import { msg } from "./message";

export default class WebSocket_User {
    userName: string;
    userId: string;
    avatar: string;
    msg: msg[];
    socket: any;
    
    constructor(userName: string, userId: string, socket: any, avatar: string, msg: msg[] = []) {
        this.userName = userName;
        this.userId = userId;
        this.socket = socket;
        this.msg = msg;
        this.avatar = avatar;
    }
}